Platform Explorer / Nuxeo Platform 2023.18

Contribution org.nuxeo.ecm.diff.service.DiffDisplayService.contrib--diffBlock

This contribution is part of XML component org.nuxeo.ecm.diff.service.DiffDisplayService.contrib inside nuxeo-diff-jsf-2023.18.9.jar /OSGI-INF/diff-display-contrib.xml

Extension Point

Extension point diffBlock of component DiffDisplayService.

Registration Order

0
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <diffBlock name="dublincore">
          <properties mode="any">
            <property name="label">label.diffBlock.dublincore</property>
          </properties>
          <fields>
            <field name="description" schema="dublincore"/>
            <!-- Display the "dam_common" schema fields in case the DAM package
              is installed -->
            <field name="author" schema="dam_common"/>
            <field name="authoringDate" schema="dam_common"/>
            <field name="nature" schema="dublincore"/>
            <field name="subjects" schema="dublincore"/>
            <field name="rights" schema="dublincore"/>
            <field name="source" schema="dublincore"/>
            <field name="coverage" schema="dublincore"/>
            <field name="created" schema="dublincore"/>
            <field name="modified" schema="dublincore"/>
            <field name="format" schema="dublincore"/>
            <field name="language" schema="dublincore"/>
            <field name="expired" schema="dublincore"/>
            <field name="creator" schema="dublincore"/>
            <field name="contributors" schema="dublincore"/>
            <field name="lastContributor" schema="dublincore"/>
          </fields>
          <templates>
            <template mode="any">/layouts/layout_diff_template.xhtml
            </template>
          </templates>
        </diffBlock>
  • <diffBlock name="files">
          <properties mode="any">
            <property name="label">label.diffBlock.files</property>
          </properties>
          <fields>
            <field displayContentDiffLinks="true" name="content" schema="file"/>
            <field name="files" schema="files">
              <items>
                <!-- Display the file only, not the filename which is managed
                  by the file widget type -->
                <item displayContentDiffLinks="true" name="file"/>
              </items>
            </field>
          </fields>
          <templates>
            <template mode="any">/layouts/layout_diff_template.xhtml
            </template>
          </templates>
        </diffBlock>
  • <diffBlock name="note">
          <properties mode="any">
            <property name="label">label.diffBlock.note</property>
          </properties>
          <fields>
            <field displayContentDiffLinks="true" name="note" schema="note"/>
          </fields>
          <templates>
            <template mode="any">/layouts/layout_diff_template.xhtml
            </template>
          </templates>
        </diffBlock>

XML Source

<extension point="diffBlock" target="org.nuxeo.ecm.diff.service.DiffDisplayService">

    <diffBlock name="dublincore">
      <properties mode="any">
        <property name="label">label.diffBlock.dublincore</property>
      </properties>
      <fields>
        <field name="description" schema="dublincore"/>
        <!-- Display the "dam_common" schema fields in case the DAM package
          is installed -->
        <field name="author" schema="dam_common"/>
        <field name="authoringDate" schema="dam_common"/>
        <field name="nature" schema="dublincore"/>
        <field name="subjects" schema="dublincore"/>
        <field name="rights" schema="dublincore"/>
        <field name="source" schema="dublincore"/>
        <field name="coverage" schema="dublincore"/>
        <field name="created" schema="dublincore"/>
        <field name="modified" schema="dublincore"/>
        <field name="format" schema="dublincore"/>
        <field name="language" schema="dublincore"/>
        <field name="expired" schema="dublincore"/>
        <field name="creator" schema="dublincore"/>
        <field name="contributors" schema="dublincore"/>
        <field name="lastContributor" schema="dublincore"/>
      </fields>
      <templates>
        <template mode="any">/layouts/layout_diff_template.xhtml
        </template>
      </templates>
    </diffBlock>

    <diffBlock name="files">
      <properties mode="any">
        <property name="label">label.diffBlock.files</property>
      </properties>
      <fields>
        <field displayContentDiffLinks="true" name="content" schema="file"/>
        <field name="files" schema="files">
          <items>
            <!-- Display the file only, not the filename which is managed
              by the file widget type -->
            <item displayContentDiffLinks="true" name="file"/>
          </items>
        </field>
      </fields>
      <templates>
        <template mode="any">/layouts/layout_diff_template.xhtml
        </template>
      </templates>
    </diffBlock>

    <diffBlock name="note">
      <properties mode="any">
        <property name="label">label.diffBlock.note</property>
      </properties>
      <fields>
        <field displayContentDiffLinks="true" name="note" schema="note"/>
      </fields>
      <templates>
        <template mode="any">/layouts/layout_diff_template.xhtml
        </template>
      </templates>
    </diffBlock>

  </extension>